package com.jinduplan.planmanager.bean;

import androidx.annotation.Nullable;

import com.cxz.kotlin.baselibs.bean.CurrentBean;
import com.cxz.kotlin.baselibs.bean.ListDataBean;

import java.util.List;
import java.util.Objects;

public class ProjectUploadDetailBean {

    private List<DataBean> data;

    private ListDataBean map;

    private CurrentBean current;

    public ListDataBean getMap() {
        return map;
    }

    public void setMap(ListDataBean map) {
        this.map = map;
    }

    public CurrentBean getCurrent() {
        return current;
    }

    public void setCurrent(CurrentBean current) {
        this.current = current;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private BuildingBean building;
        private int building_id;
        private float completion_area;
        private String completion_date;
        private int construction_id;
        private int created_id;
        private FacadeBean facade;
        private int facade_id;
        private HangingBlueBean hanging_blue;
        private int hanging_blue_id;
        private int id;
        private ProjectBean project;
        private int project_id;
        private int updated_id;
        private float usage_amount;
        private int user_id;
        private int workmanship_id;

        public BuildingBean getBuilding() {
            return building;
        }

        public void setBuilding(BuildingBean building) {
            this.building = building;
        }

        public int getBuilding_id() {
            return building_id;
        }

        public void setBuilding_id(int building_id) {
            this.building_id = building_id;
        }


        public String getCompletion_date() {
            return completion_date;
        }

        public void setCompletion_date(String completion_date) {
            this.completion_date = completion_date;
        }

        public int getConstruction_id() {
            return construction_id;
        }

        public void setConstruction_id(int construction_id) {
            this.construction_id = construction_id;
        }

        public int getCreated_id() {
            return created_id;
        }

        public void setCreated_id(int created_id) {
            this.created_id = created_id;
        }

        public FacadeBean getFacade() {
            return facade;
        }

        public void setFacade(FacadeBean facade) {
            this.facade = facade;
        }

        public int getFacade_id() {
            return facade_id;
        }

        public void setFacade_id(int facade_id) {
            this.facade_id = facade_id;
        }

        public HangingBlueBean getHanging_blue() {
            return hanging_blue;
        }

        public void setHanging_blue(HangingBlueBean hanging_blue) {
            this.hanging_blue = hanging_blue;
        }

        public int getHanging_blue_id() {
            return hanging_blue_id;
        }

        public void setHanging_blue_id(int hanging_blue_id) {
            this.hanging_blue_id = hanging_blue_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public ProjectBean getProject() {
            return project;
        }

        public void setProject(ProjectBean project) {
            this.project = project;
        }

        public int getProject_id() {
            return project_id;
        }

        public void setProject_id(int project_id) {
            this.project_id = project_id;
        }

        public int getUpdated_id() {
            return updated_id;
        }

        public void setUpdated_id(int updated_id) {
            this.updated_id = updated_id;
        }

        public float getCompletion_area() {
            return completion_area;
        }

        public void setCompletion_area(float completion_area) {
            this.completion_area = completion_area;
        }

        public float getUsage_amount() {
            return usage_amount;
        }

        public void setUsage_amount(float usage_amount) {
            this.usage_amount = usage_amount;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getWorkmanship_id() {
            return workmanship_id;
        }

        public void setWorkmanship_id(int workmanship_id) {
            this.workmanship_id = workmanship_id;
        }

        public static class BuildingBean {
            private String building_name;
            private int building_type;
            private String created_at;
            private int created_id;
            private int floor_height;
            private int id;
            private int project_id;
            private String updated_at;
            private int updated_id;
            private boolean isSelect=false;

            @Override
            public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                BuildingBean that = (BuildingBean) o;
                return getBuilding_type() == that.getBuilding_type() && getCreated_id() == that.getCreated_id() && getFloor_height() == that.getFloor_height() && getId() == that.getId() && getProject_id() == that.getProject_id() && getUpdated_id() == that.getUpdated_id() && isSelect() == that.isSelect() && Objects.equals(getBuilding_name(), that.getBuilding_name()) && Objects.equals(getCreated_at(), that.getCreated_at()) && Objects.equals(getUpdated_at(), that.getUpdated_at());
            }

            @Override
            public int hashCode() {
                return Objects.hash(getBuilding_name(), getBuilding_type(), getCreated_at(), getCreated_id(), getFloor_height(), getId(), getProject_id(), getUpdated_at(), getUpdated_id(), isSelect());
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public String getBuilding_name() {
                return building_name;
            }

            public void setBuilding_name(String building_name) {
                this.building_name = building_name;
            }

            public int getBuilding_type() {
                return building_type;
            }

            public void setBuilding_type(int building_type) {
                this.building_type = building_type;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getCreated_id() {
                return created_id;
            }

            public void setCreated_id(int created_id) {
                this.created_id = created_id;
            }

            public int getFloor_height() {
                return floor_height;
            }

            public void setFloor_height(int floor_height) {
                this.floor_height = floor_height;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getProject_id() {
                return project_id;
            }

            public void setProject_id(int project_id) {
                this.project_id = project_id;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getUpdated_id() {
                return updated_id;
            }

            public void setUpdated_id(int updated_id) {
                this.updated_id = updated_id;
            }
        }

        public static class FacadeBean {
            private int building_id;
            private String created_at;
            private int created_id;
            private String facade_name;
            private int id;
            private int project_id;
            private String updated_at;
            private int updated_id;
            private boolean isSelect=false;

            @Override
            public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                FacadeBean that = (FacadeBean) o;
                return getBuilding_id() == that.getBuilding_id() && getCreated_id() == that.getCreated_id() && getId() == that.getId() && getProject_id() == that.getProject_id() && getUpdated_id() == that.getUpdated_id() && isSelect() == that.isSelect() && Objects.equals(getCreated_at(), that.getCreated_at()) && Objects.equals(getFacade_name(), that.getFacade_name()) && Objects.equals(getUpdated_at(), that.getUpdated_at());
            }

            @Override
            public int hashCode() {
                return Objects.hash(getBuilding_id(), getCreated_at(), getCreated_id(), getFacade_name(), getId(), getProject_id(), getUpdated_at(), getUpdated_id(), isSelect());
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public int getBuilding_id() {
                return building_id;
            }

            public void setBuilding_id(int building_id) {
                this.building_id = building_id;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getCreated_id() {
                return created_id;
            }

            public void setCreated_id(int created_id) {
                this.created_id = created_id;
            }

            public String getFacade_name() {
                return facade_name;
            }

            public void setFacade_name(String facade_name) {
                this.facade_name = facade_name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getProject_id() {
                return project_id;
            }

            public void setProject_id(int project_id) {
                this.project_id = project_id;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getUpdated_id() {
                return updated_id;
            }

            public void setUpdated_id(int updated_id) {
                this.updated_id = updated_id;
            }
        }

        public static class HangingBlueBean {
            private int building_id;
            private String created_at;
            private int created_id;
            private int facade_id;
            private String hanging_blue_name;
            private int id;
            private int project_id;
            private String updated_at;
            private int updated_id;
            private boolean isSelect=false;

            @Override
            public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                HangingBlueBean that = (HangingBlueBean) o;
                return getBuilding_id() == that.getBuilding_id() && getCreated_id() == that.getCreated_id() && getFacade_id() == that.getFacade_id() && getId() == that.getId() && getProject_id() == that.getProject_id() && getUpdated_id() == that.getUpdated_id() && isSelect() == that.isSelect() && Objects.equals(getCreated_at(), that.getCreated_at()) && Objects.equals(getHanging_blue_name(), that.getHanging_blue_name()) && Objects.equals(getUpdated_at(), that.getUpdated_at());
            }

            @Override
            public int hashCode() {
                return Objects.hash(getBuilding_id(), getCreated_at(), getCreated_id(), getFacade_id(), getHanging_blue_name(), getId(), getProject_id(), getUpdated_at(), getUpdated_id(), isSelect());
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public int getBuilding_id() {
                return building_id;
            }

            public void setBuilding_id(int building_id) {
                this.building_id = building_id;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getCreated_id() {
                return created_id;
            }

            public void setCreated_id(int created_id) {
                this.created_id = created_id;
            }

            public int getFacade_id() {
                return facade_id;
            }

            public void setFacade_id(int facade_id) {
                this.facade_id = facade_id;
            }

            public String getHanging_blue_name() {
                return hanging_blue_name;
            }

            public void setHanging_blue_name(String hanging_blue_name) {
                this.hanging_blue_name = hanging_blue_name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getProject_id() {
                return project_id;
            }

            public void setProject_id(int project_id) {
                this.project_id = project_id;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getUpdated_id() {
                return updated_id;
            }

            public void setUpdated_id(int updated_id) {
                this.updated_id = updated_id;
            }
        }

        public static class ProjectBean {
            private int id;
            private String project_developers;
            private String project_manager;
            private String project_name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getProject_developers() {
                return project_developers;
            }

            public void setProject_developers(String project_developers) {
                this.project_developers = project_developers;
            }

            public String getProject_manager() {
                return project_manager;
            }

            public void setProject_manager(String project_manager) {
                this.project_manager = project_manager;
            }

            public String getProject_name() {
                return project_name;
            }

            public void setProject_name(String project_name) {
                this.project_name = project_name;
            }
        }
    }
}
